#ifndef XMLMAP_H_INCLUDED
#define XMLMAP_H_INCLUDED

#include "tinyxml.h"
#include <vector>
#include <string>

using namespace std;

class Map{
	public:
		Map(int h, int w);
		Map(const char* xml);
		void RealizeMap();
		void SaveMap(const char* fileName);
		vector<vector<float>> getCellVector();
		vector<vector<std::string>> getObjectVector();
		vector<vector<std::string>> getQuestionVector();

	private:
		TiXmlDocument mapDoc;
		int height;
		int width;
		const char* name;
		vector<vector<float>> cellVector;
		vector<vector<std::string>> objectVector;
		vector<vector<std::string>> questionVector;
};

#endif
